package com.ssy.lingxi.pay.repository.allInPay;

import com.ssy.lingxi.pay.entity.allInPay.AllInPayAttach;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * @author lqa
 * @version 2.0.0
 * @date 2021/11/29
 */
@Repository
public interface AllInPayAttachRepository extends JpaRepository<AllInPayAttach,Long>, JpaSpecificationExecutor<AllInPayAttach> {
    AllInPayAttach findByBizUserId(String bizUserId);

    AllInPayAttach findByBizUserIdAndAccountNo(String bizUserId, String accountNo);

    AllInPayAttach findFirstByBizUserId(String bizUserId);
}
